@@layout("/common/_container.html"){
<style>
    .CodeMirror, .CodeMirror-scroll {
        min-height: 130px;
        max-height: 200px;
    }

    .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word) {
        background: none;
    }
</style>

<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input hidden="hidden" name="id" id="id" value="${item.id}">

            <div class="row">
                <div class="form-group">
                    <label class="col-sm-1 control-label">键</label>
                    <div class="col-sm-11">
                        <input class="form-control" id="refKey" name="refKey"  value="${item.refKey}"/>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>

                <div class="form-group" style="height: 119px;">
                    <label class="col-sm-1 control-label">模板内容</label>
                    <div class="col-sm-11">
                         <textarea class="form-control" id="refValue" name="refValue"  style="height:115px">${item.refValue}</textarea>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>



            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TemplateInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TemplateInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/template/template_info.js"></script>

@@}
